<?php 
include_once dirname(__FILE__).DIRECTORY_SEPARATOR."../../../TestEnv.php";
include_once dirname(__FILE__).DIRECTORY_SEPARATOR."../../../../vendor/simpletest/unit_tester.php";
include_once dirname(__FILE__).DIRECTORY_SEPARATOR."../../../../model/Context/BaseContext.php";
include_once dirname(__FILE__).DIRECTORY_SEPARATOR."../../../../model/DAO/UserDAO.php";
class UserDAOTest extends UnitTestCase {
	
	function testFindByOid(){
		try
		{			
			$context = new BaseContext();
			$userDAO = new UserDAO($context);
			$rs = $userDAO->findByOid(19);
			$this->assertNotNull($rs);
		}
		catch (Exception $e)
		{
			
		}
	}
}
?>